package Directory.manager;

import java.util.ArrayList;
import java.util.List;
import java.io.*;

public class FindDirectory {
	public List<File> search(String path){
		File f=new File(path);
		List<File> fileList=new ArrayList();
		File[] fList=f.listFiles();
		for(int i=0;i<fList.length;i++){
			
				fileList.add(fList[i]);

		}
		return fileList;
	}
}
